package com.mapforge.selection;

import java.awt.Point;

/**
 * This class is an empty shell, here only to represent a
 * {@link SelectionModifier} which doesn't perform changes to the selection
 * shape.
 * 
 * @author Will Morrison
 * 
 */
public class NullSelectionShapeModifier extends AbstractSelectionModifier {
	private static NullSelectionShapeModifier nullModifier;

	private NullSelectionShapeModifier() {
	}

	/**
	 * Singleton access to this class.
	 * 
	 * @return singleton instance of this class
	 */
	public static final NullSelectionShapeModifier getHandle() {
		if (nullModifier == null) {
			nullModifier = new NullSelectionShapeModifier();
		}
		return nullModifier;
	}

	@Override
	public void doModify(Point startPoint, Point currentPoint) {
		// purposefully left blank. Do nothing to points
	}
}